<?php
session_start();
DEFINE ("PATH_TO_INCLUDE", ""); //определяем константу пути.    
include(PATH_TO_INCLUDE.'component/source.php'); 
$session = new Session();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php $source->getTitle(); ?></title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script language="javascript" type="text/jscript" src="<?php echo PATH_TO_INCLUDE;?>script/jquery.js"></script>
<script language="javascript" type="text/jscript" src="<?php echo PATH_TO_INCLUDE;?>script/site.js"></script> 
</head>
<body>
<!-- Begin Wrapper -->
<div id="wrapper">
  <!-- Begin Header -->
  <div id="header">
    <h1>HT-Bet</h1>
  </div>
  <!-- End Header -->
  <!-- Begin Navigation -->
  <div id="navtop">
    <ul>
      <li><a href="#">Ссылка</a></li>
      <li><a href="#">Ссылка</a></li>
      <li><a href="index.php">Ссылка</a></li>
    </ul>
  </div>
  <!-- End Navigation -->
  <!-- Begin Left Column -->
  <div id="leftcolumn">
    <?php $source->userMenu($session->status);?>
  </div>
  <!-- End Left Column -->
  <!-- Begin Right Column -->
  <div id="maincolumn">
    <?php $source->body($session->status);?>
  </div>
  <!-- End Right Column -->
  <div class="clear"></div>
  <div id="footer"> &copy; Copyright 2009</div>
</div>
<!-- End Wrapper -->
</body>
</html>
